serenity_component(
    Browser
    RECOMMENDED
    TARGETS Browser
    DEPENDS ImageDecoder RequestServer WebContent WebSocket
)

compile_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
compile_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
compile_gml(Tab.gml TabGML.h tab_gml)

set(SOURCES
    BookmarksBarWidget.cpp
    BrowserConsoleClient.cpp
    BrowserWindow.cpp
    BrowserWindowGML.h
    ConsoleWidget.cpp
    CookieJar.cpp
    DownloadWidget.cpp
    EditBookmarkGML.h
    History.cpp
    InspectorWidget.cpp
    Tab.cpp
    TabGML.h
    WindowActions.cpp
    main.cpp
)

serenity_app(Browser ICON app-browser)
target_link_libraries(Browser LibWeb LibProtocol LibGUI LibDesktop)
